package com.example.strategy.strategy;

import com.example.strategy.strategy.StrategyContext;

public class Demo01 {
    public static void main(String[] args) {
        StrategyContext context=new StrategyContext();

        System.out.println(context.calRecharge(100D, 1));
        System.out.println(context.calRecharge(100D, 2));
        System.out.println(context.calRecharge(100D, 3));
        System.out.println(context.calRecharge(100D, 4));
    }
}
